package main

import (
	"book/appconfig"
	"book/cache"
	"book/model"
	"book/router"
)

func main() {
	// 1.创建路由
	r := router.Init()

	appconfig.Init()

	cache.Init()

	model.Init()
	r.Run(":8000")
}
